import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import api from "./api";
import "./assets/main.css";

import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import SvgIcon from "vue-svgicon";
import "./assets/svg";

Vue.use(ElementUI);

Vue.use(SvgIcon, { tagName: "svgicon" });

Vue.prototype.$ajax = api;
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
